package com.neusoft.chanceserver.service;

import com.neusoft.chanceserver.dto.PurchaseAdd;
import com.neusoft.chanceserver.dto.RespBean;
import com.neusoft.chanceserver.entity.Purchase;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 购买决策人信息表 服务类
 * </p>
 *
 * @author liuxp
 * @since 2021-07-12
 */
public interface IPurchaseService extends IService<Purchase> {

    RespBean addPurchase(PurchaseAdd purchaseAdd);

    RespBean updatePurchase(Purchase purchase);

    RespBean deletePurchase(Integer purchaseId);

    RespBean searchPurchaseByChanceId(Integer chanceId);
}
